#include "e2d/imgui/fui/Editor.h"

bool e2d::fui::Editor::TryTreeEditEntity(e2d::Entity* entity)
{
    bool flag{ 0 };

    flag |= TryTreeEdit<e2d::PushButton>(entity);
    flag |= TryTreeEdit<e2d::ComboBox>(entity);
    flag |= TryTreeEdit<e2d::RadioButton>(entity);
    flag |= TryTreeEdit<e2d::LineEdit>(entity);
    flag |= TryTreeEdit<e2d::Slider>(entity);
    flag |= TryTreeEdit<e2d::PlainLineEdit>(entity);

    return flag;
}
